package cn.mysdp.biz.convert;

import cn.mysdp.biz.domain.*;
import cn.mysdp.biz.dto.request.*;
import java.util.Date;

/**
 * @ClassName: SdpProjectForExecuteRequestConvert
 * @Description:
 * @Author: SDP
 * @Date: 2025-02-07
 * @Version: 1.0
 * Table: sdp_project
 * Comment:
 * 
 */
public class SdpProjectForExecuteRequestConvert extends BaseConvert {
    public static SdpProjectForExecute convert(SdpProjectForExecuteRequest request) throws Exception {
        SdpProjectForExecute daoRequest = new SdpProjectForExecute();
        copyProperties(request, daoRequest);

        daoRequest.setName(daoRequest.getName() == null ? null : daoRequest.getName().trim());
        daoRequest.setParamInfo(daoRequest.getParamInfo() == null ? null : daoRequest.getParamInfo().trim());
        daoRequest.setResult(daoRequest.getResult() == null ? null : daoRequest.getResult().trim());

        return daoRequest;
    }
}
